import request from '../request'
//获取轮播图
export function getBanner(type) {
  return request({
    url: '/banner',
    method: 'get',
    params: type,
  })
}

//每日推荐歌单
export function resource(limit = 8) {
  return request({
    url: '/personalized',
    method: 'get',
    params: {
      limit: limit,
    },
  })
}
